[Samba] all names point to the same machine

2003-02-25 Thread Louis-David Mitterrand

[using a samba-2.999+3.0.alpha21-3 PDC on debian sid]

A new and interesting problem: all our windows machines now point to the
PDC when trying to browse a share on any machine:

\\anyname points to \\PDC

I checked that dns proxy = no (our wildcard dns entry points to the
PDC) to no avail. Howver if entering an ip address in \\my.ip.ad.res it
works, so it seems to be a name resolution problem.

Thanks in advance for any help, I've been trying everything on this one
and write to the list in dispair :)

Cheers,

-- 
 HIPPOLYTE: Tu sais combien mon âme, attentive à ta voix,
S'échauffait au récit de ses nobles exploits,
  (Phèdre, J-B Racine, acte 1, scène 1)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: upgrade to 3.0alpha20: accented chars in filenames unreadable

2002-10-17 Thread Louis-David Mitterrand

On Wed, Oct 16, 2002 at 09:30:20AM -0500, Steve Langasek wrote:
 
 The current Debian Samba package uses the following shell snippet to
 convert between 2.2-style character set settings and 3.0-style settings,
 if the user has opted to let Debian manage the smb.conf file directly.
 If the user has chosen to not allow automatic management of smb.conf, any
 character set and client code page values in smb.conf will need to be
 converted by hand to the new unix charset and dos charset values.
 
 If the user previously had these settings in smb.conf, and they were
 converted but accents are still broken, please let me know.  (Preferably,
 a bug would be filed with the Debian BTS.)

But the problem occurs if smb.conf:

- is not managed by debconf,

- does not contain any character setting,

Which is probably a very common situation among samba admins using
debian. 

There should be a big warning during installation if these two condtions
are met, suggesting that unix charset should be used if filenames
contain accented chars.

-- 
 HIPPOLYTE: N'osez-vous confier ce secret à ma foi ?
THESEE: Perfide, oses-tu bien te montrer devant moi ?
  (Phèdre, J-B Racine, acte 4, scène 2)



Re: [Samba] upgrade to 3.0alpha20: accented chars in filenames unreadable

2002-10-17 Thread Louis-David Mitterrand

On Wed, Oct 16, 2002 at 05:03:01PM +0200, Ignacio Coupeau wrote:
 the samba share; and the filename is impossible to modify from windows:
 samba log says file not found. From the shell the file looks like
 r?sum?.xls but the ? are actually 0x83.
 
 In a hurry I used
   unix charset = CP850
 http://www.unav.es/cti/ldap-smb/smb-ldap-3-howto.html#internationalization
 
 this solved our problems (redhat 7.2; samba-3.0a20) for example in the 
 profile load on the spanish xp (ie Star menu--menú Inicio).

Thanks for sharing this. It certainly is an excellent stopgap measure,
until proper filename conversion can be done.

The best way, if possible, would be to retain backward compatibility for
reading samba-2.2.x filenames (as with unix charset) while having new
or modified files written in unicode (or whatever the default in
samba-3.x). 

BTW: keep up the great job on your smb-ldap howto, it is a precious
ressource.

Cheers,

-- 
PANOPE: Au Prince votre fils l'un donne son suffrage,
Madame ; et de l'Etat l'autre oubliant les lois,
Au fils de l'étrangère ose donner sa voix.
  (Phèdre, J-B Racine, acte 1, scène 4)



[Samba] upgrade to 3.0alpha20: accented chars in filenames unreadable

2002-10-15 Thread Louis-David Mitterrand


Upon upgrading from 2.2.5 to 3.0alpha20 on Debian unstable, filenames
with accented characters (ie: éàî etc.) became unreadable. For example
in W2K a filename previously called résumé.xls became r when looking at
the samba share; and the filename is impossible to modify from windows:
samba log says file not found. From the shell the file looks like
r?sum?.xls but the ? are actually 0x83.

Now, the file contents are intact and if modified from the unix command
line to non-accented they become accessible again from windows.

FWIW I used the following command to sanitize all filenames:

% rename -v 's/\x8c/i/g;s/[\x83\x8a\x82]/e/g' **/*

I know I'm using an alpha samba and unstable debian, but still I'd
like to understand what happened, if possible.

Is this a known issue?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] where did the NAT tool go? (smb network testing/scanning)

2002-10-14 Thread Louis-David Mitterrand


Hi,

In the samba debian package there used to be a very convenient utility
to scan networks for open samba shares and weak passwords. Its name
AFAIR is nat.

Where can one find this tool? Is it still maintained? Is there a better
alternative?

Thanks,

-- 
 THERAMENE: Il veut les rappeler, et sa voix les effraie ;
Ils courent. Tout son corps n'est bientôt qu'une plaie.
  (Phèdre, J-B Racine, acte 5, scène 6)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] can't add Domain Users group to local Power Users group

2002-10-13 Thread Louis-David Mitterrand


Hi,

If I need some Domain Users to have local Power Users privileges
what is the best way?

- convert the local Power Users group to a domain group on the PDC with
  smbgroupedit -c... -td

  Not really knowing the consequence of that change I refrained from
  doing it. It seems (from searching on Google) that Power Users is
  only a local group; would that simple step solve my problem?

- add the Domain Users group to the local Power Users group on each
  client: this seems the recommended practice, however it doesn't work.
  When trying I get a msgbox with:
  
  Information returned from the object picker for objet 'Domain Users'
  was incomplete. The object will no be processed.

  On the PDC log.smbd displays an ominous message:

[2002/10/13 18:10:27, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(431) 
ldapsam_search_one_user: searching for:[((uid=Domain Users)(objectclass=samba
Account))]
[2002/10/13 18:10:27, 2] rpc_server/srv_samr_nt.c:access_check_samr_object(94) 
_samr_open_group: ACCESS DENIED  (requested: 0x004e)

This is on debian unstable with samba 3.0 alpha and ldapsam.

Cheers,


-- 
THESEE: Je t'aimais ; et je sens que malgré ton offense,
Mes entrailles pour toi se troublent par avance.
  (Phèdre, J-B Racine, acte 4, scène 3)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] new box can't join domain since switch to ldapsam

2002-10-10 Thread Louis-David Mitterrand

On Wed, Oct 09, 2002 at 11:49:10PM +1000, Andrew Bartlett wrote:
 Louis-David Mitterrand wrote:
  Hello,
  
  Since changing to passdb backend = ldapsam on my debian unstable PDC
  things work well, however a new winxp machine can't join the domain.
  
  Here is the /var/log/samba/log.smbd output. It seems the sticking point
  is about a missing user RID? (the new machine is sylla).
 
 Use either ldapsam_nua as the passdb backend, or use an add machine
 script to add a 'unix' account for the machine.  getpwnam(machinename$)
 must function by the time the add to the domain is attempted, or if you
 use the _nua hack, it will try to do without - see the doco on this one.

Thanks, the add machine script directive works fine. 

Before I switched to ldapsam from unixsam the add user script did
create unix account for machines joining the domain. So apparently add
machine script is either a new item or is required when using ldapsam.

Thanks again for your help, cheers,
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] new box can't join domain since switch to ldapsam

2002-10-08 Thread Louis-David Mitterrand


Hello,

Since changing to passdb backend = ldapsam on my debian unstable PDC
things work well, however a new winxp machine can't join the domain. 

Here is the /var/log/samba/log.smbd output. It seems the sticking point
is about a missing user RID? (the new machine is sylla).

Thanks in advance for any hints as to what may be wrong, cheer,


2002/10/08 18:06:30, 0] passdb/pdb_ldap.c:init_ldap_from_sam(935)
  NO user RID specified on account sylla$, cannot store!
[2002/10/08 18:06:30, 0] passdb/pdb_ldap.c:ldapsam_add_sam_account(1661)
  ldapsam_add_sam_account: init_ldap_from_sam failed!
[2002/10/08 18:06:30, 0] rpc_server/srv_samr_nt.c:_api_samr_create_user(2302)
  could not add user/computer sylla$ to passdb.  Check permissions?
[2002/10/08 18:06:30, 2] smbd/server.c:exit_server(533)
  Closing connections
[2002/10/08 18:06:31, 2] smbd/reply.c:reply_special(81)
  netbios connect: name1=ZENONname2=SYLLA  
[2002/10/08 18:06:31, 2] smbd/reply.c:reply_special(95)
  netbios connect: local=zenon remote=sylla
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:ldapsam_open_connection(267)
  ldap_open_connection: connection opened
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:ldapsam_connect_system(419)
  ldap_connect_system: succesful connection to the LDAP server
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(431)
  ldapsam_search_one_user: searching for:[((uid=root)(objectclass=sambaAccount)
)]
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:init_sam_from_ldap(677)
  Entry found for user: root
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:ldapsam_open_connection(267)
  ldap_open_connection: connection opened
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:ldapsam_connect_system(419)
  ldap_connect_system: succesful connection to the LDAP server
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:ldapsam_search_one_user(431)
  ldapsam_search_one_user: searching for:[rid=1000]
[2002/10/08 18:06:31, 2] passdb/pdb_ldap.c:init_sam_from_ldap(677)
  Entry found for user: root
[2002/10/08 18:06:31, 2] auth/auth.c:check_ntlm_password(266)
  check_password:  authentication for user [root] - [root] - [root] suceeded
[2002/10/08 18:06:32, 2] smbd/server.c:exit_server(533)
  Closing connections


-- 
 HIPPOLYTE: Je permets tout le reste à mon libre courroux.
Sortez de l'esclavage où vous êtes réduite.
  (Phèdre, J-B Racine, acte 5, scène 1)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



Re: [Samba] samba + unix passwd sync when using LDAP

2002-09-19 Thread Louis-David Mitterrand

On Tue, Sep 17, 2002 at 09:55:53AM -0400, Bradley W. Langhorst wrote:
 On Tue, 2002-09-17 at 09:14, Louis-David Mitterrand wrote:
  Hi,
  I noticed that when using (on debian unstable, samba 3.0pre):
  
  passdb backend = ldapsam
  
  the unix passwd sync in no longer performed, even if pam password
  change is on.
 are you sure?

Actually it works when I change the password as a user, but not as root
on behalf of a user. Does that make sense?


-- 
[EMAIL PROTECTED] 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba