- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: CIFS Server: cannot get one log for each conne...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2014 04:32 AM
04-01-2014 04:32 AM
CIFS Server: cannot get one log for each connection.
Hi,
I have upgraded from HP-UX 11.23 Cifs Server A.02.03.01 to A.03.02.02 and I am unable to get one samba log for each connection.
Before upgrading, this line in smb.conf worked:
log file = /var/opt/samba/<netbios_name>/logs/log.%m
But now it doesn't have any effect. Any help, please?
Best Regards,
- Tags:
- CIFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2014 07:29 AM
04-01-2014 07:29 AM
Re: CIFS Server: cannot get one log for each connection.
I've not workred with Samba / CIFS that much, but the %m appended to the log file name should give you a unique log file for each user. Isn't the <netbios_name> portion redundant?
Also, there is this warning in the man page for smb.conf for the %m option:
%m the NetBIOS name of the client machine (very useful). This parameter is not available when Samba listens on port 445, as clients no longer send this information. If you use this macro in an include statement on a domain that has a Samba domain controller be sure to set in the [global] section smb ports = 139. This will cause Samba to not listen on port 445 and will permit include functionality to function as it did with Samba 2.x.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2014 11:12 PM - edited 04-01-2014 11:13 PM
04-01-2014 11:12 PM - edited 04-01-2014 11:13 PM
Re: CIFS Server: cannot get one log for each connection.
Hi,
Thank you for your response. I have tried to get one log for each connection in several ways:
- without the netbios portion (/var/opt/samba/log.%m)
- listening only on port 139. In fact, in a system with HP CIFS Server A.02.03.01 (based in Samba 3.0.22) it is working and it is listening on port 445
- ensuring there are no directories starting by log.* in "/var/opt/samba", as I've read that can cause such problems.
- I have also tried with other options, such as %M, %I, and so on,,with the same results.
Best regards,