Sukanta Ganguly
2007-Feb-07 01:37 UTC
[Samba] Problems accessing a Samba share while logged into an AD domain....
Hi, I am having some problems a Samba server logged into an Active Directory Domain, acting as PDC on Windows 2003 server. When I log into the AD domain from my XP machine, I see the Linux server, which has also logged into the AD server and exported a few shares. From XP i see the share in explorer but when I try to access it it pops up a login/password box for me. When I enter the login id and password (which is my login id and password for the AD domain, which it should not ask as I am already logged into the domain), it tells me that it is incorrect. Do you what I have done wrong here? If I am not logged into that particular AD domain where in the Linux/Samba server is loged and I try to access the Linux box from outside it works. What is the difference here? It still askes me for the Login id and password which is the AD login id and password (It should ask in this case as I am not logged into the domain). Any help or pointers will be appreciated. Thanks -S- ____________________________________________________________________________________ Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com
Sukanta Ganguly
2007-Feb-07 17:19 UTC
[Samba] Problems accessing a Samba share while logged into an AD domain....
Hi,
This is my smb.conf file content.
===========================
[global]
workgroup = SMOKIN
# map to guest = Bad User
idmap gid = 10000-20000
idmap uid = 10000-20000
realm = SMOKIN.NET
security = ADS
usershare max shares = 100
winbind refresh tickets = yes
server string = Suse-vm2
netbios name = Suse-vm2
log level = 3
log file = /var/log/samba/%m
max log size = 50
winbind separator = +
encrypt passwords = yes
preferred master = no
template homedir = /home/%D/%U
template shell = /bin/bash
[data]
comment = Data
path = /Data
browseable = Yes
read only = No
inherit acls = Yes
valid users = SMOKIN\administrator SMOKIN\user1 SMOKIN\user2
write list = SMOKIN\Administrator
===========================================
The Linux box runs Suse 10.1 and is names Suse-vm2 in the domain.
"/Data" is a directory where access needs to be provided.
What am I doing wrong here?
Thanks for your help
-S-
----- Original Message ----
From: Sukanta Ganguly <sganguly2004@yahoo.com>
To: samba@lists.samba.org
Sent: Tuesday, February 6, 2007 5:30:06 PM
Subject: [Samba] Problems accessing a Samba share while logged into an AD
domain....
Hi,
I am having some problems a Samba server logged into an Active Directory
Domain, acting as PDC on Windows 2003 server. When I log into the AD domain from
my XP machine, I see the Linux server, which has also logged into the AD server
and exported a few shares. From XP i see the share in explorer but when I try to
access it it pops up a login/password box for me. When I enter the login id and
password (which is my login id and password for the AD domain, which it should
not ask as I am already logged into the domain), it tells me that it is
incorrect.
Do you what I have done wrong here?
If I am not logged into that particular AD domain where in the Linux/Samba
server is loged and I try to access the Linux box from outside it works. What is
the difference here? It still askes me for the Login id and password which is
the AD login id and password (It should ask in this case as I am not logged into
the domain).
Any help or pointers will be appreciated.
Thanks
-S-
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
____________________________________________________________________________________
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail
Geir A. Myrestrand
2007-Feb-07 17:42 UTC
[Samba] Problems accessing a Samba share while logged into an AD domain....
Sukanta Ganguly wrote:> Hi, > This is my smb.conf file content. > > ===========================> > [global] > workgroup = SMOKIN > # map to guest = Bad User > idmap gid = 10000-20000 > idmap uid = 10000-20000 > realm = SMOKIN.NET > security = ADS > usershare max shares = 100 > winbind refresh tickets = yes > server string = Suse-vm2 > netbios name = Suse-vm2 > log level = 3 > log file = /var/log/samba/%m > max log size = 50 > winbind separator = + > encrypt passwords = yes > preferred master = no > template homedir = /home/%D/%U > template shell = /bin/bash > [data] > comment = Data > path = /Data > browseable = Yes > read only = No > inherit acls = Yes > valid users = SMOKIN\administrator SMOKIN\user1 SMOKIN\user2 > write list = SMOKIN\AdministratorYou set the "winbind separator" to "+" but use "/" for "valid users" and "write list". Try fix that first. -- Geir A. Myrestrand
Alex Wang
2007-Feb-07 18:02 UTC
[Samba] Problems accessing a Samba share while logged into an AD domain....
see below On Wed, 7 Feb 2007 09:14:30 -0800 (PST) Sukanta Ganguly <sganguly2004@yahoo.com> wrote:> Alex, > This is my smb.conf file content. > > ===========================> > [global] > workgroup = SMOKIN > # map to guest = Bad User > idmap gid = 10000-20000 > idmap uid = 10000-20000 > realm = SMOKIN.NET > security = ADS > usershare max shares = 100 > winbind refresh tickets = yes > server string = Suse-vm2 > netbios name = Suse-vm2 > log level = 3 > log file = /var/log/samba/%m > max log size = 50 > winbind separator = +by Alex < here is + for winbind separator> encrypt passwords = yes > preferred master = no > template homedir = /home/%D/%U > template shell = /bin/bash > [data] > comment = Data > path = /Data > browseable = Yes > read only = No > inherit acls = Yes > valid users = SMOKIN\administrator SMOKIN\user1 SMOKIN\user2 > write list = SMOKIN\Administratorby Alex Here you use "\" as separator> > ===========================================> > The Linux box runs Suse 10.1 and is names Suse-vm2 in the domain. "/Data" is a directory where access needs to be provided. > > What am I doing wrong here? > > Thanks for your help > > -S- > > > > ----- Original Message ---- > From: Alex Wang <hadyn_whx@hotmail.com> > To: Sukanta Ganguly <sganguly2004@yahoo.com> > Sent: Tuesday, February 6, 2007 5:52:09 PM > Subject: Re: [Samba] Problems accessing a Samba share while logged into an AD domain... > > > You better post some kind of samba setting. There are too many reason > for that problem > > > Alex > On Tue, 6 Feb 2007 17:30:06 -0800 (PST) > Sukanta Ganguly <sganguly2004@yahoo.com> wrote: > > > Hi, > > I am having some problems a Samba server logged into an Active Directory Domain, acting as PDC on Windows 2003 server. When I log into the AD domain from my XP machine, I see the Linux server, which has also logged into the AD server and exported a few shares. From XP i see the share in explorer but when I try to access it it pops up a login/password box for me. When I enter the login id and password (which is my login id and password for the AD domain, which it should not ask as I am already logged into the domain), it tells me that it is incorrect. > > Do you what I have done wrong here? > > If I am not logged into that particular AD domain where in the Linux/Samba server is loged and I try to access the Linux box from outside it works. What is the difference here? It still askes me for the Login id and password which is the AD login id and password (It should ask in this case as I am not logged into the domain). > > Any help or pointers will be appreciated. > > > > Thanks > > -S- > > > > > > > > ____________________________________________________________________________________ > > Do you Yahoo!? > > Everyone is raving about the all-new Yahoo! Mail beta. > > http://new.mail.yahoo.com > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: https://lists.samba.org/mailman/listinfo/samba > > > > ____________________________________________________________________________________ > Looking for earth-friendly autos? > Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. > http://autos.yahoo.com/green_center/