[Samba] Samba and Active Directory

2004-08-19 Thread jzorzi
I have setup my linux machine (Fedora Core2) to kinit to my windows 2003
server.
It has added itself to the active directory with no errors
I can use smbclient //server/c$ -k and view all the files on the server.
I installed and configured winbind.  I can do a wbinfo -u and wbinfo -g and
return the list of users and groups from the active directory.
I have done a getent passwd and getgroups and winbind has assigned the
active directory users and groups the proper unix uid's and gid's.
I can even assign ownership to files but I must use DOMAINPREFIX\\username
in order to do so. IS THIS THE CORRECT WAY TO DO THAT?

I can add the user to the smbpasswd file using "smbpasswd -a
DOMAINPREFIX\\username" and it gets added.
This tells me that unix knows the user exits.
Whether I add the username to the smbpasswd file or not I still cannot
access any of the samba shares.  It continuously prompts me for a username
and password when I access it from a windows machine.

I guessing that the password isn't getting pulled from the active directory
for the user accounts.  But I'm not sure.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Active Directory and Samba

2004-08-18 Thread jzorzi
I have a problem with the Winbind setup authenticating Active Directory
Users.
I have setup Fedora Core2 with the minimal setup option
These are the Fedora RPM's that I have installed manually.
openldap-2.1.29-1
openldap-devel-2.1.29-1

krb5-libs-1.3.3-1
krb5-devel-1.3.3-1
krb5-workstation-1.3.3-1

pam_smb-1.1.7-3.1
pam-devel-0.77-40
pam-0.77-40
pam_krb5-2.0.10-1

samba-client-3.0.3-5
samba-common-3.0.3-5
samba-3.0.3-5

I have setup my connect to the AD Server and can do a Kinit.
I have setup winbind and can use wbinfo -u and wbinfo -g and get the desired
results.
I can do a getent passwd and getent group and the desired results are
achieved.

I can't however give ownership to a file using an Active Directory account
and can not authenticate to the samba server using a Windows 2003 account.

I followed the instructions on this site but I must be missing something
http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html

I have verified that nscd is not running but is installed

Here is a sample of my getent passwd
MARKETLINKSOL\jzorzi:x:10019:1:Jay
Zorzi:/home/MARKETLINKSOL/jzorzi:/bin/false
MARKETLINKSOL\kclarke:x:10020:1:Kevin
Clarke:/home/MARKETLINKSOL/kclarke:/bin/false
MARKETLINKSOL\krbtgt:x:10021:1::/home/MARKETLINKSOL/krbtgt:/bin/false

Here is the global section of my smb.conf file

[global]

realm = MARKETLINKSOL.NET
;ads server = 10.20.1.1    This generates an error unless commented out
***
security = ADS
encrypt passwords = yes
socket options = TCP_NODELAY SO_RCVBUFF=8192 SO_SNDBUF=8192
workgroup = MARKETLINKSOL
;winbind separator = +
idmap uid = 1-2
idmap gid = 1-2
winbind enum users = yes
winbind enum groups = yes

Thank you in advance for your help
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba Winbind and Active Directory

2004-08-18 Thread jzorzi
I have a problem with the Winbind setup authenticating Active Directory
Users.

I have setup Fedora Core2 with the minimal setup option

 

These are the Fedora RPM's that I have installed manually.

openldap-2.1.29-1

openldap-devel-2.1.29-1

 

krb5-libs-1.3.3-1

krb5-devel-1.3.3-1

krb5-workstation-1.3.3-1

 

pam_smb-1.1.7-3.1

pam-devel-0.77-40

pam-0.77-40

pam_krb5-2.0.10-1

 

samba-client-3.0.3-5

samba-common-3.0.3-5

samba-3.0.3-5

 

I have setup my connect to the AD Server and can do a Kinit.

I have setup winbind and can use wbinfo -u and wbinfo -g and get the desired
results.

I can do a getent passwd and getent group and the desired results are
achieved.

 

I can't however give ownership to a file using an Active Directory account
and can not authenticate to the samba server using a Windows 2003 account.

 

I followed the instructions on this site but I must be missing something

http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html
<http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/winbind.html> 

I have verified that nscd is not running but is installed

 

Here is a sample of my getent passwd

MARKETLINKSOL\jzorzi:x:10019:1:Jay
Zorzi:/home/MARKETLINKSOL/jzorzi:/bin/false

MARKETLINKSOL\kclarke:x:10020:1:Kevin
Clarke:/home/MARKETLINKSOL/kclarke:/bin/false

MARKETLINKSOL\krbtgt:x:10021:1::/home/MARKETLINKSOL/krbtgt:/bin/false

 

Here is the global section of my smb.conf file

[global]

realm = MARKETLINKSOL.NET

;ads server = 10.20.1.1   *** This generates an error unless
commented out *

security = ADS

encrypt passwords = yes

socket options = TCP_NODELAY SO_RCVBUFF=8192 SO_SNDBUF=8192

workgroup = MARKETLINKSOL

;winbind separator = +

idmap uid = 1-2

idmap gid = 1-2

winbind enum users = yes

winbind enum groups = yes

 

Thank you in advance for your help

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