[Samba] "username map" configuration doesn't seem to work

2009-06-03 Thread Jayesh Kamdar
Hi,

 
I have set "username map = /usr/local/samba/lib/username.map" in my smb.conf 
but it doesn't seem to work. This worked on my old Solaris server but not on 
new Red Hat linux server.

Any idea???

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


[Samba] Samba trouble with connecting to domain

2009-05-27 Thread Jayesh Kamdar
I am having trouble connecting with my linux machine from my XP machine. I am 
not sure what is the problem ...

My smb.conf seems to be fine. 

Here are few errors from several log files
service winbind status shows 
winbindd dead but pid file exists

And under /var/log/samba/.log shows - 
NT_STATUS_CANT_ACCESS_DOMAIN_INFO.

[r...@wwwdev1tmp samba]# wbinfo -u
Error looking up domain users

More detailed log is as shown below ...

winbindd.log
[2009/05/27 16:18:36, 0] 
nsswitch/winbindd_cache.c:initialize_winbindd_cache(2227)
  initialize_winbindd_cache: clearing cache and re-creating with version number 
   1
[2009/05/27 16:18:36, 0] nsswitch/winbindd_util.c:init_domain_list(505)
  Could not fetch our SID - did we join?
[2009/05/27 16:18:36, 0] nsswitch/winbindd.c:main(1091)
  unable to initalize domain list

More detailed server log
[2009/05/27 16:38:37, 0] 
rpc_client/cli_pipe.c:get_schannel_session_key_common(2444)
  get_schannel_session_key: could not fetch trust account password for domain 
''
[2009/05/27 16:38:37, 0] rpc_client/cli_pipe.c:cli_rpc_pipe_open_schannel(2640)
  cli_rpc_pipe_open_schannel: failed to get schannel session key from server 
..ORG for domain .
[2009/05/27 16:38:37, 0] 
auth/auth_domain.c:connect_to_domain_password_server(119)
  connect_to_domain_password_server: unable to open the domain client session 
to machine ..ORG. 
Error was : NT_STATUS_CANT_ACCESS_DOMAIN_INFO.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] SElinux and Samba

2006-05-05 Thread Jayesh Kamdar
Thanks man. That did the trick and I am happy.


Yvon Dubinsky <[EMAIL PROTECTED]> wrote: Ok, so there is not a problem with 
SElinux and Samba.  But it is a 
pain to set up so it will work right.   I finally figured out how to 
set up SE and Samba so you can be able to write and delete files.

I found in one of that man pages "man samba_selinux", you can just 
disable SE for samba.   I am sure there are other ways also but this 
is what I have found so far.   I tried to just open SE to samba but 
that has not worked as of yet.   What does work is typing -
" setsebool -P smbd_disable_trans 1" - this disables SE for just 
samba then restart samba with - "service smb restart".  I have not 
found a way to just pass samba through SE as of yet with out 
disabling SE for the samba demon.

- yvon

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



Jayesh Kamdar
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] trouble with ferdora core 5 with samba

2006-04-28 Thread Jayesh Kamdar
Same issue with me and I posted with the list yesterday only. Hope to hear from 
some experts.


Yvon Dubinsky <[EMAIL PROTECTED]> wrote: I installed the latest version of 
Ferdora Core 5 with samba.  The 
installation of Ferdora is fine, and I can see the shares I have set 
up on my Win XP Pro machine.  But, there is a problem with the 
rights.  I have made the files on the linux box 777, but I can still 
not write to the files. It is as though the files are still read 
only, even though they should be read/write.  I am also having a 
problem implementing the users into the groups though Webmin.   When 
I create a new user under Webmin and then go to add them to the 
groups I have set up it gives me an error.   Says it does not have 
the right rights to add in the users and passwords.I have two 
other linux machines running with no problems, one is running Ferdora 
Core 1 the other Core 2.   Has anyones else had any problems with 
Core 5 not letting users write to the shares even though the rights 
are set to 777?

Thanks,

Yvon Dubinsky
E-Commerce Admin
DMP Corporation

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



Jayesh Kamdar
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] need help with write access

2006-04-28 Thread Jayesh Kamdar
Below is my directory permission and I am using the same smb.conf file that I 
am using on my other Red Hat Linux box and it works great.

[EMAIL PROTECTED] /]$ ls -al /mymedia
total 40
drwxrwxrwx  5 jkamdar jkamdar 4096 Apr 27 13:29 .
drwxr-xr-x 28 rootroot4096 Apr 26 09:37 ..
drwxrwxrwx  2 jkamdar jkamdar 4096 Apr 21 16:33 movies
drwxrwxrwx  3 jkamdar jkamdar 4096 Apr 25 17:24 music
drwxrwxr-x  2 jkamdar jkamdar 4096 Apr 27 13:29 test


Eric Warnke <[EMAIL PROTECTED]> wrote: Please post 

1) ls -al /mymedia so we can see the permissions
2) What user are you connecting as?
3) Any other pertinant changes to the smb.conf

Cheers,
Eric

On 4/27/06,  Jayesh Kamdar <[EMAIL PROTECTED]> wrote: I have a samba server 
running on my Fedora work station and I am able to mount few dir. of this 
Fedora box, on my Windows box but I am having trouble wrting to this 
directories.

Here is how I have it shared in smb.conf 

[media]
   comment = MP3
   path = /mymedia
   public = yes
   writable = yes
   write list = @media
   create mode = 0664
   directory mode = 0775
   printable = no
   browsable = yes
admin user = jkamdar


Any idea?


Thanks,
mikoo


Jayesh Kamdar
[EMAIL PROTECTED]
--
To unsubscribe from this list go to the following URL and read the 
instructions:  https://lists.samba.org/mailman/listinfo/samba


 


Jayesh Kamdar
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] need help with write access

2006-04-27 Thread Jayesh Kamdar
I have a samba server running on my Fedora work station and I am able to mount 
few dir. of this Fedora box, on my Windows box but I am having trouble wrting 
to this directories.

Here is how I have it shared in smb.conf

[media]
   comment = MP3
   path = /mymedia
   public = yes
   writable = yes
   write list = @media
   create mode = 0664
   directory mode = 0775
   printable = no
   browsable = yes
   admin user = jkamdar


Any idea?


Thanks,
mikoo


Jayesh Kamdar
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba