[Samba] why limit winbind to trusted domain only ?

2005-05-04 Thread gary ng
Hi, I am wondering the rationale behind this design decision. I am working on a small network using samba as the PDC/BDC with most workstation being Windows machine. With samba and the User Manager for domain, I can easily manage the user database from Windows. In addition to samba, I also run

Re: [Samba] Re: samba periodically access the disk even when idle ?

2005-01-18 Thread gary ng
I have already tried to put smb.conf to /tmp which is mounted to tmpfs but the disk access continues. I have no idea why. --- Tomasz Chmielewski [EMAIL PROTECTED] wrote: Wil Cooley wrote: On 2005-01-18, gary ng [EMAIL PROTECTED] wrote: does samba server access the disk periodically

[Samba] samba periodically access the disk even when idle ?

2005-01-17 Thread gary ng
Hi, does samba server access the disk periodically even it is not serving any client ? I am trying to setup a home server which is not frequently used and set the HD to spin down after 60s inactivity. But it get kicks up again apparently by samba(stoping samba and the disk won't spin up anymore).

[Samba] minimize uid usage when doing 'net join' through 'add machine script' ?

2003-09-28 Thread gary ng
Hi, The 'add machine script' and 'add user script' is very handy in creating samba user accounts and joining machines to domain. However, the 'add machine script' needs to first create a 'unix account' in order for samba to proceed and create the necessary SID entry. This unix account is no

[Samba] Samba 3(PDC) + winbind, anyone has it working ?

2003-09-27 Thread gary ng
Hi, I have reported this(and seen similar problems by others) before. I took the plunge today and trace into the source to see what happened. The result seems to be that winbind(or the nsswitch part) would never work in a PDC/BDC situation, only for other trusted domain(probably). Below is my

TR : RE : [Samba] winbind and getent - fix ...

2003-09-26 Thread gary ng
I am wondering if there is some code which prevents libnss_winbind to query the samba database when it is running on a PDC(that is what I am doing and experience the same problem as you) in this way. I have even temperarily remove ldap(which is needed for the unix uid/gid mapping for samba

[Samba] Re: Winbind ldap samba 3 BDC getent passwd answer don't retrieve domain users, can't login on the domain with users that are not on /ect/passwd

2003-09-25 Thread gary ng
I have seen the same thing in my two installation of beta2 and rc4. Some how, I forgot what I have played around in beta2 and was later been able to do a 'getent passwd DOMAIN\\username' but can't repeat that again. in my latest installation of RC4. I am wondering if it has anything to do with the

Re: RE : [Samba] Re: Winbind ldap samba 3 BDC getent passwd answer don'tretrieve domain users, can't login on the domain with users that are not on /ect/passwd

2003-09-25 Thread gary ng
Haven't looked at the code so I am not sure if this is the same thing. My experience is that pam_winbind.so works as expected but linss_winbind.so doesn't. Or more precisely, it is the getpwent calls failed(but not completely as if I do an adduser, it barks with user already exist error so it does

[Samba] libnss_winbind doesn't work as expected, where should I check ?

2003-09-23 Thread gary ng
Hi, I have setup Samba 3.0(as PDC) with LDAP as the backend. The samba parts(login and share etc.) is now working after some tweaks. The pam_winbind also work as I can authenticate agains winbind. However, the libnss_windbind doesn't work which I have no clue where should I look into trouble.

[Samba] Samba 3 PDC using LDAP as backend, what next ?

2003-09-22 Thread gary ng
Hi, I have successfully setup a Samba PDC using a local LAP as the password backend. After I have added the first user 'testing' through pdbedit, some entries is added to the LDAP server too. However, when I tried to execute the 'net' commands(any) or smbmount or testing out the winbind(pam),

[Samba] Samba 3 as PDC with LDAP as passwd backend

2003-09-18 Thread gary ng
Hi, I am trying to setup a Samba3 server as PDC with OpenLDAP as the backend. To enable a smaba based SSO, I also install winbind. However, I saw this error message in winbind log : [2003/09/18 14:08:00, 1] nsswitch/winbindd_util.c:init_domain_list(215) Could not fetch sid for our domain

Re: RE : [Samba] Samba 3 as PDC with LDAP as passwd backend

2003-09-18 Thread gary ng
Thanks, just found that out that 'pdbedit -a' would create this entry when I add the first user. However, I have another problem. I have setup the machine as a PDC with as : workgroup = example netbios name = woody security = user domain master = yes So the domain I believe should be 'example'

Re: RE : RE : [Samba] Samba 3 as PDC with LDAP as passwd backend

2003-09-18 Thread gary ng
People said one minor difference in smb.conf can result in completely different result and now I believe it. The reason that it is wrong is that I don't have 'domain logons = yes' which continue to make samba thinks it is a stand alone server, not a PDC/BDC. After that entry, things is getting

[Samba] Samba 3 and Kerberos, to what extend ?

2003-09-18 Thread gary ng
Hi, I read the howto but didn't find much information about how Samba 3 and Kerberos works together. It seems that there needs to be an AD server in order to take advantage of Kerberos. What I like to know is if it is possible to do something like the following(all from a linux client) without