Re: [Samba] getlocalsid error

2006-03-07 Thread Mont Rothstein
Thanks for the slap upside the head, my ability to query via the command
line is definitely broken.  I'd gotten console access working and forgotten
to check that.

Also, just so you don't think I'm a complete fool, the root share was only
in there because I'm testing (this is all in a VM).

Off to figure out why ldapsearch isn't working.

Thanks,
-Mont


On 3/6/06, Craig White <[EMAIL PROTECTED]> wrote:
>
> On Mon, 2006-03-06 at 17:13 -0800, Mont Rothstein wrote:
> > I am trying to integrate Samba version is 3.0.10 with Fedora Directory
> > Server (1.0.1) on RHEL 4.
> >
> > I am attempting to follow:
> > http://directory.fedora.redhat.com/wiki/Howto:Samba
> >
> > but I am getting an error with net getlocalsid.  The output is:
> >
> > [2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_connect_system(850)
> >   failed to bind to server with dn= cn=Directory Manager Error: Can't
> > contact LDAP server
> > (unknown)
> > [2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_search_suffix(1155)
> >   smbldap_search_suffix: Problem during the LDAP search: (unknown)
> (Timed
> > out)
> > SID for domain RHELES4RS1 is: S-1-5-21-807157010-1821471989-4121009367
> >
> > While I get a SID I assume I should not proceed with these errors.
> >
> > I've gone over my config I can't find my error.  I've searched online
> and
> > can't find anything.
> >
> > The full ouput of testparm is below.
> >
> > Any ideas as to what I've done wrong?
> >
> 
> We're sort of lacking confirmation that you can actually query the LDAP
> server including binding as cn=Directory Manager from the command line.
> There's no reason to believe at this point that the problem is Samba
>
> Craig
>
> ps - I would heavily recommend against sharing your /root directory via
> samba
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] getlocalsid error

2006-03-06 Thread Craig White
On Mon, 2006-03-06 at 17:13 -0800, Mont Rothstein wrote:
> I am trying to integrate Samba version is 3.0.10 with Fedora Directory
> Server (1.0.1) on RHEL 4.
> 
> I am attempting to follow:
> http://directory.fedora.redhat.com/wiki/Howto:Samba
> 
> but I am getting an error with net getlocalsid.  The output is:
> 
> [2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_connect_system(850)
>   failed to bind to server with dn= cn=Directory Manager Error: Can't
> contact LDAP server
> (unknown)
> [2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_search_suffix(1155)
>   smbldap_search_suffix: Problem during the LDAP search: (unknown) (Timed
> out)
> SID for domain RHELES4RS1 is: S-1-5-21-807157010-1821471989-4121009367
> 
> While I get a SID I assume I should not proceed with these errors.
> 
> I've gone over my config I can't find my error.  I've searched online and
> can't find anything.
> 
> The full ouput of testparm is below.
> 
> Any ideas as to what I've done wrong?
> 

We're sort of lacking confirmation that you can actually query the LDAP
server including binding as cn=Directory Manager from the command line.
There's no reason to believe at this point that the problem is Samba

Craig

ps - I would heavily recommend against sharing your /root directory via
samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] getlocalsid error

2006-03-06 Thread Mont Rothstein
I am trying to integrate Samba version is 3.0.10 with Fedora Directory
Server (1.0.1) on RHEL 4.

I am attempting to follow:
http://directory.fedora.redhat.com/wiki/Howto:Samba

but I am getting an error with net getlocalsid.  The output is:

[2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_connect_system(850)
  failed to bind to server with dn= cn=Directory Manager Error: Can't
contact LDAP server
(unknown)
[2006/03/06 10:00:21, 0] lib/smbldap.c:smbldap_search_suffix(1155)
  smbldap_search_suffix: Problem during the LDAP search: (unknown) (Timed
out)
SID for domain RHELES4RS1 is: S-1-5-21-807157010-1821471989-4121009367

While I get a SID I assume I should not proceed with these errors.

I've gone over my config I can't find my error.  I've searched online and
can't find anything.

The full ouput of testparm is below.

Any ideas as to what I've done wrong?

Thanks,
-Mont

Load smb config files from /etc/samba/smb.conf
Processing section "[netlogon]"
 Processing section "[profiles]"
Processing section "[homes]"
Processing section "[printers]"
Processing section "[repository]"
Processing section "[root directory]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
# Global parameters
[global]
server string = rheles4rs1
password server = None
passdb backend = ldapsam:ldap://rheles4rs1.forayadams.foray.com
username map = /etc/samba/smbusers
log file = /var/log/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
logon path = \\%L\profiles\%u
logon drive = H:
logon home = \\%L\%u\profiles
domain logons = Yes
os level = 33
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
 ldap admin dn = cn=Directory Manager
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap suffix = dc=forayadams,dc=foray,dc=com
ldap user suffix = ou=People
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
cups options = raw

[netlogon]
path = /var/lib/samba/netlogon
browseable = No

[profiles]
path = /var/lib/samba/profiles
read only = No
create mask = 0600
 directory mask = 0700

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[repository]
path = /repository
valid users = testadmin, testuser
read only = No

[root directory]
path = /
valid users = mont
read only = No
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba