Dear, I'll appreciate your help because I can't connect to a samba resource. Here are the details: Samba Server: Centos 5.5 with samba and samba-common packages Content of smb.conf: [global] workgroup = somisa server string = Test server log file = /var/log/samba/%m.log security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 [share] comment = recordings path = /var/recorder browseable = yes writable = yes public = yes read only = no #adduser jelo #passwd jelo (1234) #smbpasswd -a jelo (1234, same as Unix account) #/etc/init.d/smb restart I'm now in my Windows Desktop, connected to a domain called somisa, the same as the samba workgroup with user jelo with pass rata89012 (not 1234 as the samba pass). After that from into Windows explorer I connect to unit W: \\samba_server\share with user: jelo and pass: 1234 I can see the resource but I get an error telling me that the ACCESS IS DENIED to W: and this is the log: [2011/02/16 16:22:16, 1] smbd/service.c:make_connection_snum(1077) 2000-96 (10.11.4.22) connect to service share initially as user jelo (uid=500, gid=500) (pid 20468) What can I do ??? I have this problem from a lot of days ago :( Thanks in advance !!! JeLo
Excerpts from J. L. Cabral's message of Wed Feb 16 14:25:40 -0500 2011: [...]> Samba Server: Centos 5.5 with samba and samba-common packages > Content of smb.conf: > [global] > workgroup = somisa[...]> [share] > comment = recordings > path = /var/recorder > browseable = yes > writable = yes > public = yes > read only = no > > #adduser jelo > #passwd jelo (1234) > #smbpasswd -a jelo (1234, same as Unix account) > #/etc/init.d/smb restart > > I'm now in my Windows Desktop, connected to a domain called somisa, > the same as the samba workgroup with user jelo with pass rata89012 > (not 1234 as the samba pass). >Have you joined the domain?> After that from into Windows explorer I connect to unit W: > > \\samba_server\share > > with user: jelo and pass: 1234this is the source of your issues. See [1] for the why and how.> I can see the resource but I get an error telling me that the ACCESS > IS DENIED to W: > > and this is the log: > > [2011/02/16 16:22:16, 1] smbd/service.c:make_connection_snum(1077) > 2000-96 (10.11.4.22) connect to service share initially as user jelo > (uid=500, gid=500) (pid 20468) > > > > What can I do ??? I have this problem from a lot of days ago :(ref. [1] You'll have problems like that if your account credentials aren't identical. By logging in to the domain you're creating a link using a certain set of credentials. Then by issuing \\samba_server\share and providing a different set you're working against a longtime/well known limitation that windows cannot connect to the same network resource using different credentials...Is the Win 7 Pro by any chance? It's not impossible but will likely lead to problems if your not experienced in doing so.> Thanks in advance !!! > > JeLo-- Thanks, Phil
> > > Dear, I'll appreciate your help because I can't connect to a samba > resource. Here are the details: > > Samba Server: Centos 5.5 with samba and samba-common packages > Content of smb.conf: > [global] > workgroup = somisa > server string = Test server > log file = /var/log/samba/%m.log > security = user > encrypt passwords = yes > smb passwd file = /etc/samba/smbpasswd > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > [share] > comment = recordings > path = /var/recorder > browseable = yes > writable = yes > public = yes > read only = no > > #adduser jelo > #passwd jelo (1234) > #smbpasswd -a jelo (1234, same as Unix account) > #/etc/init.d/smb restart > > I'm now in my Windows Desktop, connected to a domain called somisa, > the same as the samba workgroup with user jelo with pass rata89012 > (not 1234 as the samba pass). > > After that from into Windows explorer I connect to unit W: > > \\samba_server\share > > with user: jelo and pass: 1234 > > I can see the resource but I get an error telling me that the ACCESS > IS DENIED to W:ls -la /var/recorder What's it show?> > > > and this is the log: > > [2011/02/16 16:22:16, 1] smbd/service.c:make_connection_snum(1077) > 2000-96 (10.11.4.22) connect to service share initially as user > jelo > (uid=500, gid=500) (pid 20468) > > > > What can I do ??? I have this problem from a lot of days ago :( > > Thanks in advance !!! > > JeLo > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
> > > Dear, thanks for your help.....I've logged into a Windows domain with > user: jelo and pass: rata89012. > > My desktop is Windows XP SP2. > > In samba server the shared resource is /var/recorder with this rigths: > > drwxr-xr-x 2 root root 4096 feb 16 14:56 recorderFor starters try chown -R jelo:Domain\ Users recorder or at least chown -R jelo recorder See if that helps.> > > > The Unix local user is jelo with pass 1234, and then I execute: > smbpasswd -a jelo with pass 1234, as I told before. > > A pair of months ago in other LAN, in the same scenario I could log in > XXX domain and I could conect to a samba resource with YYY workgroup > (YYY is different from XXX), but here I can't at all. > > So please what do you recommend to change for my current scenario ??? > > Thanks again, > > JeLo > > On Wed, Feb 16, 2011 at 4:41 PM, Philippe LeCavalier > <support at plecavalier.com> wrote: >> >> Excerpts from J. L. Cabral's message of Wed Feb 16 14:25:40 -0500 >> 2011: >> [...] >>> >>> Samba Server: Centos 5.5 with samba and samba-common packages >>> Content of smb.conf: >>> [global] >>> workgroup = somisa >> [...] >>> >>> [share] >>> comment = recordings >>> path = /var/recorder >>> browseable = yes >>> writable = yes >>> public = yes >>> read only = no >>> >>> #adduser jelo >>> #passwd jelo (1234) >>> #smbpasswd -a jelo (1234, same as Unix account) >>> #/etc/init.d/smb restart >>> >>> I'm now in my Windows Desktop, connected to a domain called somisa, >>> the same as the samba workgroup with user jelo with pass rata89012 >>> (not 1234 as the samba pass). >>> >> Have you joined the domain? >>> >>> After that from into Windows explorer I connect to unit W: >>> >>> \\samba_server\share >>> >>> with user: jelo and pass: 1234 >> this is the source of your issues. See [1] for the why and how. >>> >>> I can see the resource but I get an error telling me that the ACCESS >>> IS DENIED to W: >>> >>> and this is the log: >>> >>> [2011/02/16 16:22:16, 1] smbd/service.c:make_connection_snum(1077) >>> 2000-96 (10.11.4.22) connect to service share initially as user jelo >>> (uid=500, gid=500) (pid 20468) >>> >>> >>> >>> What can I do ??? I have this problem from a lot of days ago :( >> ref. >> [1] >> You'll have problems like that if your account credentials aren't >> identical. >> By logging in to the domain you're creating a link using a certain set >> of credentials. Then by issuing \\samba_server\share and providing a >> different set you're working against a longtime/well known limitation >> that windows cannot connect to the same network resource using >> different >> credentials...Is the Win 7 Pro by any chance? >> >> It's not impossible but will likely lead to problems if >> your not experienced in doing so. >>> >>> Thanks in advance !!! >>> >>> JeLo >> >> -- >> Thanks, >> Phil >>