jean-marc pouchoulon
2003-Oct-20 15:36 UTC
[Samba] Xp without netbios - few questions with samba 3 - smbldap_open: cannot access LDAP when not root
Hi, On samba 3 winserver enabled On xp I can work with smb on 2 ways 1 ) smb over tcpip without netbios. I was suprised because I can logged onto the domain. Xp client found the primary domain controler. I am not able to add permissions ( only the local machine domain is visible ). How xp client found the DC ( cache DC name on the client , wins answer on port 445 ?) 2 ) smb over netbios. Samba works with port 139. Ok clear for me. 2 bis ) smb over netbios with value coming from the dhcp. I was also suprised that samba use port 445. It's true that the only parameter is the netbios node type (h-node). It works. But why 1) way is not working to retrieve users? I can see in the log : [2003/10/20 15:00:49, 0] lib/smbldap.c:smbldap_open(799) smbldap_open: cannot access LDAP when not root.. I have this message only in this case. Jean-Marc Pouchoulon
John H Terpstra
2003-Oct-20 15:48 UTC
[Samba] Xp without netbios - few questions with samba 3 - smbldap_open: cannot access LDAP when not root
On Mon, 20 Oct 2003, jean-marc pouchoulon wrote:> Hi, > > On samba 3 winserver enabled > On xp I can work with smb on 2 ways > > 1 ) smb over tcpip without netbios. I was suprised because I can > logged onto the domain. Xp client found the primary domain controler. I > am not able to add permissions ( only the local machine domain is > visible ). How xp client found the DC ( cache DC name on the client , > wins answer on port 445 ?)Correct. NetBIOSless SMB uses port 445. Refer to the Samba-HOWTO-Collection.pdf - chapter 10.3.2, see also chapter 6.2.5.2. On review of the information I refer you to above, it is clear that we need to provide more information. I guess that means there is more writing to be done. :( - John T.> 2 ) smb over netbios. Samba works with port 139. Ok clear for > me. > 2 bis ) smb over netbios with value coming from the dhcp. I was > also suprised that samba use port 445. It's true > that the only parameter is the netbios node type (h-node). It > works. But why 1) way is not working to retrieve users? I can see > in the log : > [2003/10/20 15:00:49, 0] lib/smbldap.c:smbldap_open(799) > smbldap_open: cannot access LDAP when not root.. > I have this message only in this case. > > > > Jean-Marc Pouchoulon > >-- John H Terpstra Email: jht@samba.org
jean-marc pouchoulon
2003-Oct-20 16:29 UTC
[Samba] Xp without netbios - few questions with samba 3 - smbldap_open: cannot access LDAP when not root
Bonsoir John> Refer to the Samba-HOWTO-Collection.pdf - chapter 10.3.2, see alsochapter 6.2.5.2.>On review of the information I refer you to above, it is clear that weneed to provide more information. I guess that >>>means there is more writing to be done. :( I Read them carefully ( and cris hertel book implementing cifs too), but maybe I misunderstood or you misunderstood my basic english. New formula for my question : I have no windows 2000 dns , how the xp client found the domain if it has no netbios layer? using wins ? I think wins was working on port tcp 137 and was linked with netbios. No netbios no wins no ? No wins no DC ? The error message smbldap_open: cannot access LDAP when not root.. Has no explain ? Link with netbios ? jean-marc.