[Samba] Samba-3.0.23 docs in Japanese

2006-09-28 Thread Kamanhalli, Pavan S (STSD)
Hi All,
I have downloaded samba-3.0.23. But the source doesn't contain
docs in japanese. The welcome.html ( located under 
/usr/local/samba/swat/lang/ja/help/welcome.html) contains many links
which are broken. How can I get SWAT docs in Japanese.
Kindly help.


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


RE: [Samba] allow creating files but not deleting

2006-09-13 Thread Pavan
Thanks Toni, The VFS Audit nearly achieved what I am looking for the
logging, and about the creating files but not deleting, am still in
trials.

Regards,
Pavan.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Toni Casueps
Sent: Wednesday, September 13, 2006 6:29 PM
To: samba@lists.samba.org
Subject: RE: [Samba] allow creating files but not deleting



Hi,

I have tried using the chattr +i to the files to solve the same
issue, but its getting more complicated in terms of management, and if
I
do the same at the directory level, no one can create new files to that
directory, is there any better to achieve the same?? I have a common
directory which everyone can access, but its becoming a problem when
people delete the files and remain untraced as samba logging does not
log the user file activity.

Have you tried the full_audit VFS module? It may print too much
information 
about file activity but to my knowledge is the only way to log that 
activity.

About Rune's question, no I don't have acl.


Thanks in advance.

Pavan.



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

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


RE: [Samba] allow creating files but not deleting

2006-09-12 Thread Pavan
Hi,

   I have tried using the chattr +i to the files to solve the same
issue, but its getting more complicated in terms of management, and if I
do the same at the directory level, no one can create new files to that
directory, is there any better to achieve the same?? I have a common
directory which everyone can access, but its becoming a problem when
people delete the files and remain untraced as samba logging does not
log the user file activity.

Thanks in advance.

Pavan.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Toni Casueps
Sent: Tuesday, September 12, 2006 7:47 PM
To: samba@lists.samba.org
Subject: [Samba] allow creating files but not deleting


I need to create a directory where a user can create and work with files
but 
not delete them. Other users can do anything in that directory. I have a

recycle bin set up but I must make it impossible to delete the files.
I have tried setting the sticky bit on the directory, and the delete 
readonly option of smb.conf to no, but the user can always delete the

files ...


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

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


[Samba] samba Logging

2006-09-11 Thread Pavan
Hi All,
 
   Can anyone help me, on how to log the user activity on samba like
what files they have accessed? what files they have created? What files
they have deleted? Etc etc..

At the moment samba is only logging the user login data. And there's no
way for me to monitor the activity of the users, other than smbstatus
but still this one will not show the activities which are already
performed.

Thanks heaps

Pavan.


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


[Samba] Multiple Logon Scripts

2006-08-10 Thread Pavan
Hi All,
 
  I am wondering if multiple logon scripts can be run using samba as
PDC. I need to run a logon script for all users and some logon scripts
for specific users + the common script,
 
 Can I specify multiple logon script files in smb.conf
   
 Logon script = login.bat, %U.bat ???
 
Thanks,
Pavan.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba share access error Fedora core 5

2006-08-09 Thread Pavan
Hi,
 
   I have samba PDC running successfully on my server with 3
physical volumes running Fedora Core 5.
  
   Physical Volume 1 - OS installation
   Physical Volume 2 - All Company file shares
   Physical Volume 3 - Backup of files.
 
  I am facing a weird problem or may be somewhat unique to samba or
Fedora, that  I cannot access shares that are mounted and shared by
samba from the client machines from the Physical volumes 2  3. I just
receive an error as Network Path cannot be found including for the
samba domain administrator i.e. root. All users can access the shares
directly on the server.
 
Can anyone help me to overcome this problem??
 
Thanks in advance, I really spent more than 4hrs troubleshooting this.
 
 
Pavan.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba share access error Fedora core 5

2006-08-09 Thread Pavan

Hi Tim,
  
 Thanks for that, It have solved my problem. Hope this will be
useful for people on the list using FC 5.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 09, 2006 8:34 PM
To: Pavan
Subject: Re: [Samba] Samba share access error Fedora core 5

Pavan,

I had this exact same problem with my Fedora Core 5.  It's actually a
well
documented problem with the way Fedora Core 5 uses a system known as
SELinux,
which is on by default.

Try issuing the command 'setenforce 0' and see if that makes a
difference.

Quoting Pavan [EMAIL PROTECTED]:

 Hi,
SNIP

Hi,
 
   I have samba PDC running successfully on my server with 3
physical volumes running Fedora Core 5.
  
   Physical Volume 1 - OS installation
   Physical Volume 2 - All Company file shares
   Physical Volume 3 - Backup of files.
 
  I am facing a weird problem or may be somewhat unique to samba or
Fedora, that  I cannot access shares that are mounted and shared by
samba from the client machines from the Physical volumes 2  3. I just
receive an error as Network Path cannot be found including for the
samba domain administrator i.e. root. All users can access the shares
directly on the server.
 
Can anyone help me to overcome this problem??
 
Thanks in advance, I really spent more than 4hrs troubleshooting this.
 
 
Pavan.

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


Re: [Samba] changing password on samba bdc

2006-03-09 Thread Pavan
,ou=People,o=example,c=xx 
conn=327 op=8 MOD attr=sambaPwdCanChange sambaPwdCanChange sambaLMPassword sambaLMPassword sambaNTPassword sambaNTPassword sambaPwdLastSet sambaPwdLastSet 
conn=327 op=8 RESULT tag=103 err=0 text= 
conn=327 op=9 SRCH base= scope=0 deref=0 filter=(objectClass=*) 
conn=327 op=9 SRCH attr=supportedExtension 
conn=327 op=9 SEARCH RESULT tag=101 err=0 nentries=1 text= 
conn=327 op=10 PASSMOD id=cn=John Doe,ou=People,o=example,c=xx new 
conn=327 op=10 RESULT oid= err=0 text= 
conn=327 fd=26 closed (connection lost) 
conn=328 fd=27 closed (connection lost) 


Case2: I login to Machine2 and invoke smbpasswd. However I get
Password changed for user jdoe, but quite havy problems emerge.
 From now on I can't login to Machine1 and Machine2 neither with
smbclient nor with ssh (which uses POSIX data).

Case2, the answer: Ldap debug logs claim that samba gives invalid
credentials while trying to bind. Everything calms down when
I refresh Sambaroot's (that is the user I put as ldap admin dn
in smb.conf) password with ldappasswd using the value sotred in
/etc/samba/private/secrets.tdb. It looks like instead of changing
my password samba changes its own :-( When I fix it I can login to
Machines with smbclient but...  I discover that my POSIX password
(userPassword) hasn't changed.  I have to use the old one.

ldap log says:
conn=313 fd=26 ACCEPT from IP=10.1.2.7:2263 (IP=10.1.2.4:389)
conn=313 op=0 BIND dn=cn=Sambaroot,o=example,c=xx method=128
conn=313 op=0 BIND dn=cn=Sambaroot,o=example,c=xx mech=SIMPLE ssf=0
conn=313 op=0 RESULT tag=97 err=0 text=
conn=313 op=1 MOD dn=cn=John Doe,ou=People,o=example,c=xx
conn=313 op=1 MOD attr=sambaPwdCanChange sambaPwdCanChange sambaLMPassword 
sambaLMPassword sambaNTPassword sambaNTPassword sambaPwdLastSet sambaPwdLastSet
conn=313 op=1 RESULT tag=103 err=0 text=
conn=313 op=2 UNBIND
conn=313 fd=26 closed
conn=314 fd=26 ACCEPT from IP=10.1.2.7:2264 (IP=10.1.2.4:389)
conn=314 op=0 BIND dn=cn=Sambaroot,o=example,c=xx method=128
conn=314 op=0 BIND dn=cn=Sambaroot,o=example,c=xx mech=SIMPLE ssf=0
conn=314 op=0 RESULT tag=97 err=0 text=
#
# why it happens so that there is no id=... like above
#
conn=314 op=1 PASSMOD
#
conn=314 op=1 RESULT oid= err=0 text=
conn=314 op=2 UNBIND
conn=314 fd=26 closed

Case3: I login to Machine2 and invoke smbpasswd -r Machine1.
Everything is OK like in the first case. Logs ofcourse look
also the same.

Please CC, I am not a subscriber.
  



--
Pavan Krishna L
Systems Administrator
Diversity Arrays Technology Pty Ltd
Ph:  +61 2 6281 8512
Fax: +61 2 6281 8533
Mob: +61 423 411 281


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


Re: [Samba] Bizarre problems with two Samba in the same workgroup

2006-03-08 Thread Pavan
 only = yes
browseable = no
write list = root,@Domain Admins

[grupos]
path = /home/grupos
comment =  Directorio compartido de grupos
# ver el macro %S
valid users = +users
browseable = yes
writeable = yes
create mask = 0660
directory mask = 0770

[documentacion]
comment =  Documentacion ISO 9001
path = /home/iso9001/docs/
valid users = +users
browseable = yes
writeable = yes
create mask = 0640
directory mask = 0750

[noconf]
comment =  No conformidades ISO 9001
path = /home/iso9001/NoConf/
valid users = +users
browseable = yes
writeable = yes
create mask = 0664
directory mask = 0775



I would be very grateful if anyone can tell me what's wrong or point me to a
webpage, file, post in a samba list, or any source of information.

Thanks in advance
  



--
Pavan Krishna L
Systems Administrator
Diversity Arrays Technology Pty Ltd
Ph:  +61 2 6281 8512
Fax: +61 2 6281 8533
Mob: +61 423 411 281


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


[Samba] Two PDC's conflict

2006-03-07 Thread Pavan

Hi All,

   I am currently running two PDC's with different domain names on 
the same network. But after a day of smooth running I am starting to 
have problems with the users accessing the network resources with an 
error message. As far I understand there must not be such conflict with 
the Samba PDC's with different domain names on the same subnet. Can any 
one suggest what might be wrong in such case?


thanks for the help,
Pavan.






--
Pavan Krishna L
Linux Systems Administrator
Diversity Arrays Technology Pty Ltd
Ph:  +61 2 6281 8512
Fax: +61 2 6281 8533
Mob: +61 423 411 281


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


[Samba] Samba LDAP SID and Local SID

2006-03-06 Thread Pavan

Hi All,

   I am running Samba - 3 using a ldap backend, recently I have 
needed to change the domain of the computers as I am migrating to other 
server, I have the ldap database and populated the ldap database on the 
new server, but I am facing a problem with SID's as the SambaSID in the 
ldap backend is from the old samba server which is different from the 
current SambaSID(net getlocalsid) but Its not really feasible for me to 
create all the user accounts again on LDAP. Can any one advise me on how 
to get around this? Without changing the SID's I am unable to join the 
machines to the new domain and get an error *o mapping between account 
names and security Id's .

*
thanks in advance,
Pavan.

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


[Samba] Domain logon problem

2006-03-05 Thread Pavan

Hi All,

   We are running Samba as a PDC on SUSE 9.3 and everything was 
running fine since we started it. All of a sudden I have started to have 
problems with the domain logon, nothing has changed since friday when I 
know it was working fine without any problems. The users are just unable 
to logon to the domain and getting an error message The domain 
controller is down or computer account is not found.I am able to add 
the new computers to the domain today and also the authentication is 
also working fine. Its only that the users cannot logon from the Domain 
from any Win clients.


Thanks in advance.
Pavan.

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


[Samba] Domain Logon Problem

2006-03-05 Thread Pavan

Hi All,

We are running Samba as a PDC on SUSE 9.3 and everything was 
running fine since we started it. All of a sudden I have started to have 
problems with the domain logon, nothing has changed since friday when I 
know it was working fine without any problems. The users are just unable 
to logon to the domain and getting an error message The domain 
controller is down or computer account is not found.I am able to add 
the new computers to the domain today and also the authentication is 
also working fine. Its only that the users cannot logon from the Domain 
from any Win clients.


Thanks in advance.
Pavan.

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


Re: [Samba] Domain Logon Problem

2006-03-05 Thread Pavan

Hi,

  This is the only error message that I can find in the log 
*yield_connection: tdb_delete for name failed with error Record does 
not exist*. Everything else is working normally. The weird thing is 
that it just started over the weekend.



Pavan wrote:

Hi All,

We are running Samba as a PDC on SUSE 9.3 and everything was 
running fine since we started it. All of a sudden I have started to 
have problems with the domain logon, nothing has changed since friday 
when I know it was working fine without any problems. The users are 
just unable to logon to the domain and getting an error message *The 
domain controller is down or computer account is not found*.I am able 
to add the new computers to the domain today and also the 
authentication is also working fine. Its only that the users cannot 
logon from the Domain from any Win clients.


Thanks in advance.
Pavan.



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


[Samba] Would BDC Sync with Local Passwd?

2005-12-12 Thread Pavan krishna

Hi All,

I have a Samba PDC on my Suse 9.3 machine serving up to 25 clients 
with a OpenLdap backend.The samba user password  also *sync's with the 
LDAP Password and the Local User password*. All Samba users also have a 
local user account which is used by IMAP Server Accounts  Cyrus 
Authentication on the same machine. (So, One Password to email and samba 
for all users, if the user changes his password from the client machine 
all the passwords are synchronized). Recently I have setup a BDC as well 
which is working fine with the OpenLdap Replica. I would like to know 
whether the Samba BDC will also synchronizes with the local user 
password on the BDC machine. My Replica LDAP is updated on the BDC but 
am not sure whether the local user password is updated by the BDC in the 
same way as the PDC does. (all user accounts are also created  on the 
BDC machine.).


Thank's in advance.

cheers,
Pavan.


--
Pavan Krishna L
Systems Administrator
Diversity Arrays Technology Pty Ltd
Ph:  +61 2 6281 8512
Fax: +61 2 6281 8533
Mob: +61 423 411 281

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


Re: [Samba] Promoting Samba BDC to PDC

2005-11-17 Thread Pavan krishna

Hi Adrian,

   Thank you for your reply. Yeah i have done what you have 
described already, but the problem is that my client machine is not able 
to detect the BDC, though my testparm on the BDC shows me no errors. And 
yes the LDAP administrative password is stored in secrets.tdb else i 
cannot join my client machine to the domain and cannot even make changes 
to the ldapsam database with the admindn user.


Do you think i need to add something else on the Samba BDC file, 
following are my configuration settings for the BDC using the replicated 
ldapsam database.


[global]
   workgroup = testdom
   interfaces = 127.0.0.1/255.255.255.0 192.168.9.238
   printing = cups
   printcap name = cups
   printer admin = @ntadmin, root, administrator
   map to guest = Bad User
   security = user
   encrypt passwords = yes
   allow trusted domains = yes
   server string = Samba Server
   add machine script = /usr/sbin/useradd  -c Machine -d 
/var/lib/nobody -s /bin/false %m$

   domain master = no
   admin users = root
 hosts allow=192.168.9. 255.255.255. localhost
 remote announce=192.168.9.255
   domain logons = yes
 preferred master=no
  enhanced browsing=yes
   local master = yes
   unix password sync = no
   passwd program = /bin/passwd %u
   ldap passwd sync = yes
   ldap delete dn = no
   pam password change = yes
   preferred master = yes
   os level = 65
   ldap suffix = dc=dart,dc=com
   ldap user suffix = ou=People
   ldap group suffix = ou=Group
   passdb backend = ldapsam:ldap://localhost
   netbios name = dartlinux
   username map = /etc/samba/smbusers
   logon home = \\%L\%U\.profile
   logon drive = H:
   logon path = \\%L\profiles\%U
   logon script = netlogon.bat
   wins support = yes
   log file = /var/log/samba/log.%m
   log level = 5
   ldap admin dn = uid=root,ou=People,dc=dart,dc=com
   idmap backend = ldap:ldap://localhost
   ldap idmap suffix = ou=Idmap
   ldap machine suffix = ou=Computers

thanks,
pavan.

adrian sender wrote:


Hello Pavan

Firstly have you been following the samba guide - Samba 3 by example 
by John Terpstra.


Chapter 5.

You must now set the LDAP administrative password into the Samba-3 
secrets.tdb file by executing this command:


root#  smbpasswd -w not24get
Setting stored password for cn=Manager,dc=abmas,dc=biz in secrets.tdb


Now you must obtain the domain SID from the PDC and store it into the 
secrets.tdb file also. This step is not necessary with an LDAP passdb 
backend because Samba-3 obtains the domain SID from the sambaDomain 
object it automatically stores in the LDAP backend. It does not hurt 
to add the SID to the secrets.tdb, and if you wish to do so, this 
command can achieve that:


root#  net rpc getsid MEGANET2
Storing SID S-1-5-21-3504140859-1010554828-2431957765 \
  for Domain MEGANET2 in secrets.tdb

Regards,

Adrian Sender.


--- 


Hi All,

   Has any one got an idea of how to make clients automatically 
find the BDC when the PDC is stopped. Both PDC and BDC are running by 
Samba authenticating again a LDAPSAM backend replicated on both the 
PDC with master LDAP database and BDC with replicated LDAP database. 
But when I stop PDC the clients are not detecting the BDC broadcast. I 
can see that the replication is of the OpenLDAP data is perfect.


Any idea of where i may be wrong??

thankx in advance.

pavan.
--- 







--
Pavan Krishna L
Systems Administrator
Diversity Arrays Technology Pty Ltd
Ph:  +61 2 6281 8512
Fax: +61 2 6281 8533
Mob: +61 423 411 281


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


Re: [Samba] NT MD4 password check failed

2005-11-16 Thread Pavan krishna


hi,

 check the permission settings on the share or the home directory,

   Check your global settings:
   logon home = \\%L\%U\.profile
   logon drive = H:

 and the permissions on the share:
[homes]
   comment = Home Directories
   valid users = %U
   writeable = yes
   browseable = no
   read only = no
   guest ok = no
   printable = no

 and it can only be mapped automatically if your PC is the domain 
member else you have to go to run and type \\samba server name and see 
whether you are able to see your home directory.
 I used to have this error if the smbpassword is different from the 
Linux Local user password.



Vincente Aggrippino wrote:


I'm sorry for asking a question which has been asked so many times
before, but I can't seem to find the answer...

How do I get to access my home directory on a Linux server running
Samba from a Windows XP client?

I'm getting NT MD4 password check failed in the log file even though
the Windows client is listed in hosts.equiv.  More information
below...

I have a small home network consisting of a Linux (SuSE 10.0) server
and two Windows XP clients.  Since I can't get things working
properly, I've added log level = 10 to my smb.conf.

The two users on my network are my wife and myself.

I want to map drive H (for home :)) on the Windows clients to the home
directory on the Linux server.  So, I have a standard [homes] section
in my smb.conf.

Both of the accounts on the clients have a capitalized first letter
and the Linux usernames are all lowercase.  So, I have added the
usernames to /etc/samba/smbusers so that the Windows username will map
properly to the Linux usernames.  This seems to be working properly:

[2005/11/17 11:37:29, 10] lib/username.c:user_in_list(583)
 user_in_list: checking user Vince in list
[2005/11/17 11:37:29, 10] lib/username.c:user_in_list(587)
 user_in_list: checking user |Vince| against |Vince|
[2005/11/17 11:37:29, 3] lib/username.c:map_username(212)
 Mapped user Vince to vince


Neither of our accounts on the Windows XP clients have passwords.  We
just use the Welcome screen and click on our names.  So, I have added
the host names to /etc/hosts.equiv and added hosts equiv =
/etc/hosts.equiv to smb.conf so that, when the client tries to connect
to the server it shouldn't need to provide a password to go with the
username.  This is the part that doesn't seem to be working:

[2005/11/17 11:37:29, 9] passdb/passdb.c:pdb_update_autolock_flag(2333)
 pdb_update_autolock_flag: Account vince not autolocked, no check needed
[2005/11/17 11:37:29, 4] libsmb/ntlm_check.c:ntlm_password_check(326)
 ntlm_password_check: Checking NT MD4 password
[2005/11/17 11:37:29, 3] libsmb/ntlm_check.c:ntlm_password_check(344)
 ntlm_password_check: NT MD4 password check failed for user vince


Does anyone know the solution to this problem?

Thank you,
   Vince Aggrippino
   [EMAIL PROTECTED]
 




--
Pavan Krishna L
Systems Administrator
Diversity Arrays Technology Pty Ltd
Ph:  +61 2 6281 8512
Fax: +61 2 6281 8533
Mob: +61 423 411 281


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


Re: [Samba] OpenLDAP and SAMBA

2005-11-15 Thread Pavan krishna
I have done the similar in my company and had the same problem, I have 
now a centralized authentication of the linux local user, email and 
samba user. You need to check for the ACS's in the slapd.conf file 
first, making sure that every one has the full rights on their account 
in LDAP and the root or ldap admin has the full rights on all the 
records in the ldap.


then make the changes in the nssswitch.conf file and then change the 
entries in the /etc/pam.d directory for samba  login  passwd files.


this should solve your problem but when playing with pam.d directory, 
make sure you are logged in some other terminal as you may lock yourself.


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


[Samba] Promoting Samba BDC to PDC

2005-11-15 Thread pavan

Hi All,

Has any one got an idea of how to make clients automatically 
find the BDC when the PDC is stopped. Both PDC and BDC are running by 
Samba authenticating again a LDAPSAM backend replicated on both the PDC 
with master LDAP database and BDC with replicated LDAP database. But 
when I stop PDC the clients are not detecting the BDC broadcast. I can 
see that the replication is of the OpenLDAP data is perfect.


Any idea of where i may be wrong??

thankx in advance.

pavan.

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


[Samba] CTRL+ALT+DEL Samba PDC

2005-11-14 Thread pavan
Samba is causing problems changing the samba users password from the 
domain machines. Gives a message Cannot change the password as the 
Domain Testdom cannot be found. But the machine trust relation is 
already established and the users are authenticated and are able to 
login to the client machines. Any help will be greatly appreciated.


Thankx in advance
pavan.

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