[linux] samba a nefungujuce login skripty

Martin Simovic msimovic na concurrent-thinking.com
Pátek Únor 20 08:01:53 CET 2009


> Ahoj, net logon.bat mas ulozeny ako co?
> (file /var/samba/netlogon/logon.bat: ASCII text, with CRLF line
> terminators)
> 
> musi to byt ulozene v MSDOS formate, ceze ak si ho vytvoril na linuxe
> treba to prehnat utilitkou unix2dos (unix2dos logon.bat)
> aby boli CRLF line terminatory namiesto unixovych.
> 
> za druhe, cesta k logon.bat je vzdy relativna k [netlogon] share
> cize ak mas /var/samba/netlogon/logon.bat
> 
> tak logon script = logon.bat
> 
> v pripade ze je scrtipt vo /var/samba/netlogon/scripts/logon.bat
> 
> tak logon script = scripts/logon.bat
> 
> dalej checkni ze je tvoj netlogon share (/var/lib/samba) 755

tu som jasneze myslel /var/samba/netlogon 755 a logon bat 644

> a logon.bat 644
> 
> M.
> > mk
> > _______________________________________________
> > https://lists.linux.sk/mailman/listinfo/linux
> > Meta FAQ: http://www.sklug.sk/lists/linux/metafaq.html

okrem toho nechapem naco ti je sekcii
[netlogon]
read only = No <-----?????

zvykne sa pouzivat 
browseable = No
locking = No

ale rw netlogon? (aj tak mas na netlogone UNIX chmod ze tam nikto nic
nezapise) cize uplna blbost.



This e-mail message may contain confidential and/or privileged information. If you are not an addressee or otherwise authorized to receive this message, you should not use, copy, disclose or take any action based on this e-mail or any information contained in the message.
If you have received this material in error, please advise the sender immediately by reply e-mail and delete this message. Thank you.
Allinea Software and Streamline Computing are trading divisions of Concurrent Thinking Limited: Registered in England and Wales No: 03913912
Registered Address: The Innovation Centre, Warwick Technology Park, Gallows Hill, Warwick, CV34 6UW, United Kingdom


Další informace o konferenci linux